/**
 * @project_name staff_vehicle
 * @package_name com.ssh.web.admin
 * @desc TODO
 * @param
 * @author jack
 * @date 2013-4-27
 * @time 下午2:41:51
 */
package com.ssh.web.admin;

import com.opensymphony.xwork2.ActionSupport;
import com.ssh.ser.admin.StaffManageSerI;

/**
 * @author jack
 *
 */
public class DeleteStaffAction extends ActionSupport{
	/**
	 * TODO
	 */
	private static final long serialVersionUID = 1L;
	StaffManageSerI staffManageSerI;
	private String OpSId;
	private String staffId;

	@Override
	public String execute() throws Exception {
		// TODO Auto-generated method stub
		System.out.println("hello world"+OpSId);
		try {
			staffManageSerI.deleteStaff(OpSId);
		} catch (Exception e) {

		}
		return "ok";
	}

	/**
	 * @return the staffManageSerI
	 */
	public StaffManageSerI getStaffManageSerI() {
		return staffManageSerI;
	}

	/**
	 * @param staffManageSerI the staffManageSerI to set
	 */
	public void setStaffManageSerI(StaffManageSerI staffManageSerI) {
		this.staffManageSerI = staffManageSerI;
	}

	/**
	 * @return the staffId
	 */
	public String getStaffId() {
		return staffId;
	}

	/**
	 * @param staffId the staffId to set
	 */
	public void setStaffId(String staffId) {
		this.staffId = staffId;
	}

	/**
	 * @return the opSId
	 */
	public String getOpSId() {
		return OpSId;
	}

	/**
	 * @param opSId the opSId to set
	 */
	public void setOpSId(String opSId) {
		OpSId = opSId;
	}

}
